<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>水果类产品 - 智能采摘小车</title>
  <!-- 引入外部资源 -->
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <!-- 配置Tailwind主题 -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#00aa00',
            secondary: '#22C55E',
            dark: '#00aa00',
            light: '#ffffff'
          },
          fontFamily: {
            inter: ['Inter', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .transition-transform {
        transition-property: transform;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
      }
      .hover-scale {
        @apply hover:scale-105 transition-all duration-300;
      }
      .card-shadow {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      }
    }
  </style>
</head>
<body class="font-inter bg-light text-dark antialiased">
  <!-- 导航栏 -->
  <header id="navbar" class="fixed w-full z-50 transition-all duration-300 bg-white shadow-md">
    <nav class="container mx-auto px-4 py-3 flex items-center justify-between">
      <div class="flex items-center">
        <a href="index.html" class="text-2xl font-bold text-primary flex items-center">
          <i class="fa fa-leaf mr-2 text-secondary"></i>
          <span>云耕智境</span>
        </a>
      </div>
      
      <!-- 桌面导航 -->
      <div class="hidden md:flex items-center space-x-8">
        <a href="index.html" class="font-medium hover:text-primary transition-colors">首页</a>
        <a href="all-products.html" class="font-medium hover:text-primary transition-colors">产品中心</a>
        <a href="technology.html" class="font-medium hover:text-primary transition-colors">技术优势</a>
        <a href="cases.html" class="font-medium hover:text-primary transition-colors">应用案例</a>
        <a href="about.html" class="font-medium hover:text-primary transition-colors">申请合伙人</a>
        <a href="news.html" class="font-medium hover:text-primary transition-colors">认养解答</a>
        <a href="contact.html" class="font-medium hover:text-primary transition-colors">联系我们</a>
      </div>
      
      <!-- 联系按钮 -->
      <div class="hidden md:block">
        <a href="contact.html" class="bg-primary hover:bg-primary/90 text-white px-6 py-2 rounded-full transition-all hover:shadow-lg">
          立即咨询
        </a>
      </div>
      
      <!-- 移动端菜单按钮 -->
      <button id="menu-toggle" class="md:hidden text-dark focus:outline-none">
        <i class="fa fa-bars text-2xl"></i>
      </button>
    </nav>
    
    <!-- 移动端导航菜单 -->
    <div id="mobile-menu" class="md:hidden hidden bg-white shadow-lg absolute w-full">
      <div class="container mx-auto px-4 py-3 flex flex-col space-y-4">
        <a href="#home" class="font-medium py-2 hover:text-primary transition-colors">首页</a>
        <a href="#products" class="font-medium py-2 hover:text-primary transition-colors">产品中心</a>
        <a href="#technology" class="font-medium py-2 hover:text-primary transition-colors">技术优势</a>
        <a href="#cases" class="font-medium py-2 hover:text-primary transition-colors">应用案例</a>
        <a href="#about" class="font-medium py-2 hover:text-primary transition-colors">申请合伙人</a>
        <a href="#news" class="font-medium py-2 hover:text-primary transition-colors">认养解答</a>
        <a href="#contact" class="font-medium py-2 hover:text-primary transition-colors">联系我们</a>
        <a href="#contact" class="bg-primary hover:bg-primary/90 text-white px-6 py-2 rounded-full text-center transition-all hover:shadow-lg">
          立即咨询
        </a>
      </div>
    </div>
  </header>

  <!-- 产品中心Banner -->
  <section class="pt-24 pb-16 bg-gradient-to-br from-blue-50 to-green-50">
    <div class="container mx-auto px-4">
      <div class="text-center">
        <h1 class="text-[clamp(2rem,5vw,3rem)] font-bold leading-tight text-dark mb-4">水果类产品</h1>
        <p class="text-gray-600 text-lg max-w-2xl mx-auto">专为各类水果种植场景设计的智能采摘解决方案</p>
      </div>
    </div>
  </section>

  <!-- 产品列表 -->
  <section class="py-16 bg-white">
    <div class="container mx-auto px-4">
      <!-- 产品分类标签 -->
      <div class="flex flex-wrap justify-center gap-4 mb-12">
        <button class="px-6 py-2 rounded-full bg-white hover:bg-gray-100 transition-colors" onclick="window.location.href='all-products.html'">全部产品</button>
        <button class="px-6 py-2 rounded-full bg-primary text-white" onclick="window.location.href='fruit-products.html'">水果类</button>
        <button class="px-6 py-2 rounded-full bg-white hover:bg-gray-100 transition-colors" onclick="window.location.href='vegetable-products.html'">蔬菜类</button>
        <button class="px-6 py-2 rounded-full bg-white hover:bg-gray-100 transition-colors" onclick="window.location.href='special-products.html'">特种作物</button>
      </div>
      
      <!-- 产品列表 -->
      <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
        <!-- 草莓专用采摘机器人 -->
        <div class="bg-white rounded-xl overflow-hidden card-shadow hover-scale">
          <div class="relative">
            <img 
              src="https://picsum.photos/id/1080/600/400" 
              alt="草莓专用采摘机器人" 
              class="w-full h-64 object-cover"
            >
            <div class="absolute top-4 right-4 bg-secondary text-white px-3 py-1 rounded-full text-sm">
              热销款
            </div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">草莓专用采摘机器人</h3>
            <p class="text-gray-600 mb-4">专为草莓设计的采摘机器人，采用柔性抓手，无损采摘率超过95%</p>
            <div class="flex justify-between items-center">
              <div>
                <span class="text-primary font-bold text-2xl">¥98,000</span>
              </div>
              <a href="#" class="text-primary font-medium hover:underline flex items-center">
                查看详情 <i class="fa fa-arrow-right ml-1"></i>
              </a>
            </div>
          </div>
        </div>
        
        <!-- 果园专用采摘车 -->
        <div class="bg-white rounded-xl overflow-hidden card-shadow hover-scale">
          <div class="relative">
            <img 
              src="https://picsum.photos/id/118/600/400" 
              alt="果园专用采摘车" 
              class="w-full h-64 object-cover"
            >
            <div class="absolute top-4 right-4 bg-primary text-white px-3 py-1 rounded-full text-sm">
              新品
            </div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">果园专用采摘车</h3>
            <p class="text-gray-600 mb-4">适用于苹果、梨等果树采摘，可自动识别果实成熟度并进行分级采摘</p>
            <div class="flex justify-between items-center">
              <div>
                <span class="text-primary font-bold text-2xl">¥158,000</span>
                <span class="text-gray-400 line-through ml-2">¥188,000</span>
              </div>
              <a href="#" class="text-primary font-medium hover:underline flex items-center">
                查看详情 <i class="fa fa-arrow-right ml-1"></i>
              </a>
            </div>
          </div>
        </div>
        
        <!-- 葡萄采摘机器人 -->
        <div class="bg-white rounded-xl overflow-hidden card-shadow hover-scale">
          <div class="relative">
            <img 
              src="https://picsum.photos/id/135/600/400" 
              alt="葡萄采摘机器人" 
              class="w-full h-64 object-cover"
            >
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">葡萄采摘机器人</h3>
            <p class="text-gray-600 mb-4">专为葡萄园设计，可适应不同葡萄品种的采摘需求，保留完整果串</p>
            <div class="flex justify-between items-center">
              <div>
                <span class="text-primary font-bold text-2xl">¥148,000</span>
              </div>
              <a href="#" class="text-primary font-medium hover:underline flex items-center">
                查看详情 <i class="fa fa-arrow-right ml-1"></i>
              </a>
            </div>
          </div>
        </div>
        
        <!-- 柑橘采摘机器人 -->
        <div class="bg-white rounded-xl overflow-hidden card-shadow hover-scale">
          <div class="relative">
            <img 
              src="https://picsum.photos/id/142/600/400" 
              alt="柑橘采摘机器人" 
              class="w-full h-64 object-cover"
            >
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">柑橘采摘机器人</h3>
            <p class="text-gray-600 mb-4">针对柑橘类水果设计，可避免果皮损伤，提高果实商品率</p>
            <div class="flex justify-between items-center">
              <div>
                <span class="text-primary font-bold text-2xl">¥138,000</span>
              </div>
              <a href="#" class="text-primary font-medium hover:underline flex items-center">
                查看详情 <i class="fa fa-arrow-right ml-1"></i>
              </a>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 分页 -->
      <div class="flex justify-center mt-12">
        <nav class="inline-flex rounded-md shadow-sm" aria-label="Pagination">
          <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
            <span class="sr-only">上一页</span>
            <i class="fa fa-chevron-left"></i>
          </a>
          <a href="#" aria-current="page" class="z-10 bg-primary text-white relative inline-flex items-center px-4 py-2 border border-primary text-sm font-medium">1</a>
          <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">2</a>
          <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
            <span class="sr-only">下一页</span>
            <i class="fa fa-chevron-right"></i>
          </a>
        </nav>
      </div>
    </div>
  </section>

  <!-- 页脚 -->
  <footer class="bg-dark text-white py-12">
    <div class="container mx-auto px-4">
      <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8">
        <div>
          <h3 class="text-xl font-bold mb-4 flex items-center">
            <i class="fa fa-leaf mr-2 text-secondary"></i>
            <span>智能采摘</span>
          </h3>
          <p class="text-gray-400 mb-4">让农业更智慧，让种植更简单</p>
          <p class="text-gray-400">© 2023 智能采摘科技有限公司 版权所有</p>
        </div>
        
        <div>
          <h4 class="text-lg font-medium mb-4">快速链接</h4>
          <ul class="space-y-2">
            <li><a href="#home" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
            <li><a href="#products" class="text-gray-400 hover:text-white transition-colors">产品中心</a></li>
            <li><a href="#technology" class="text-gray-400 hover:text-white transition-colors">技术优势</a></li>
            <li><a href="#cases" class="text-gray-400 hover:text-white transition-colors">应用案例</a></li>
            <li><a href="#about" class="text-gray-400 hover:text-white transition-colors">申请合伙人</a></li>
            <li><a href="#news" class="text-gray-400 hover:text-white transition-colors">认养解答</a></li>
            <li><a href="#contact" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
          </ul>
        </div>
        
        <div>
          <h4 class="text-lg font-medium mb-4">产品系列</h4>
          <ul class="space-y-2">
            <li><a href="fruit-products.html" class="text-gray-400 hover:text-white transition-colors">水果类</a></li>
            <li><a href="vegetable-products.html" class="text-gray-400 hover:text-white transition-colors">蔬菜类</a></li>
            <li><a href="special-products.html" class="text-gray-400 hover:text-white transition-colors">特种作物</a></li>
          </ul>
        </div>
        
       <div>
         <h4 class="text-lg font-medium mb-4">联系方式</h4>
         <ul class="space-y-3">
           <li class="flex items-start">
             <i class="fa fa-map-marker text-secondary mt-1 mr-3"></i>
             <span class="text-gray-400">湖北工程学院新技术学院信息工程系</span>
           </li>
           <li class="flex items-center">
             <i class="fa fa-phone text-secondary mr-3"></i>
             <span class="text-gray-400">123456789</span>
           </li>
           <li class="flex items-center">
             <i class="fa fa-envelope text-secondary mr-3"></i>
             <span class="text-gray-400">@123456789.com</span>
           </li>
         </ul>
       </div>
      </div>

    </div>
  </footer>

  <!-- JavaScript -->
  <script>
    // 导航栏滚动效果
    const navbar = document.getElementById('navbar');
    
    window.addEventListener('scroll', function() {
      if (window.scrollY > 50) {
        navbar.classList.add('shadow-md');
      } else {
        navbar.classList.remove('shadow-md');
      }
    });
    
    // 移动端菜单切换
    const menuToggle = document.getElementById('menu-toggle');
    const mobileMenu = document.getElementById('mobile-menu');
    
    menuToggle.addEventListener('click', function() {
      mobileMenu.classList.toggle('hidden');
    });
    
    // 平滑滚动
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
      anchor.addEventListener('click', function (e) {
        e.preventDefault();
        
        const targetId = this.getAttribute('href');
        if (targetId === '#') return;
        
        const targetElement = document.querySelector(targetId);
        if (targetElement) {
          // 关闭移动菜单（如果打开）
          mobileMenu.classList.add('hidden');
          
          // 滚动到目标位置
          targetElement.scrollIntoView({
            behavior: 'smooth'
          });
        }
      });
    });
  </script>
</body>
</html>